/*
** my_strcmp.c for galaf in /home/compilation/galaf-lib
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Fri Mar 23 03:22:20 2012 christophe labonnemartinez
** Last update Sat Aug 11 12:39:25 2012 christophe labonnemartinez
*/

#include "includes/my.h"

int	my_strcmp(const char *s1, const char *s2)
{
  int	i;

  i = 0;
  while (s1[i] && s2[i])
    {
      if (s1[i] != s1[i])
	return (*s1 - *s2);
      i++;
    }
  return (0);
}
